package net.hn.hnms.biz.quality.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Author: ly
 * 煤质信息表
 *
 * @date 2022-09-09
 */
@Data
@ApiModel("煤质信息表")
public class CoalQualityVO extends BaseVO {
    @ApiModelProperty(value = "主键ID")
    private String coalQualityId;
    @ApiModelProperty(value = "日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",timezone = "GMT+8"
    )
    private Date coalQualityDate;
    @ApiModelProperty(value = "灰份（%）")
    private BigDecimal ash;
    @ApiModelProperty(value = "全水份（%）")
    private BigDecimal moistureTotal;
    @ApiModelProperty(value = "含矸率（%）")
    private BigDecimal shaleContent;
    @ApiModelProperty(value = "低位发热量(MJ/KG)")
    private BigDecimal netCalorificValue;
    @ApiModelProperty(value = "矿编码")
    private String mineCode;
    @ApiModelProperty(value = "创建人ID")
    private String createUserId;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd",timezone = "GMT+8"
    )
    private Date createTime;
    @ApiModelProperty(value = "修改人ID")
    private String updateUserId;
    @ApiModelProperty(value = "最后修改时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd",timezone = "GMT+8"
    )
    private Date updateTime;
    @ApiModelProperty(value = "删除标识 0正常 1删除")
    private String delFlag;
    @ApiModelProperty(value = "禁用:1  启用:0")
    private String status;

    @ApiModelProperty(value = "挥发份")
    @NotBlank(message = "挥发份不能为空")
    @ExcelProperty(value = "挥发份")
    private BigDecimal volatileMatter;


    @ApiModelProperty(value = "运销方式，外销:1  内销:0")
    @Length(max = 0, message = "外销:1  内销:0长度不能超过0个字符")
    @NotBlank(message = "外销:1  内销:0不能为空")
    @ExcelProperty(value = "销售类型")
    private String sellWay;

    @ApiModelProperty(value = "销售量")
    @NotBlank(message = "销售量不能为空")
    @ExcelProperty(value = "销售量")
    private BigDecimal salesVolume;


    @ApiModelProperty(value = "统计日期")
    @JsonFormat(
            pattern = "yyyy-MM",timezone = "GMT+8"
    )
    private Date countDate;




}









